package org.springblade.modules.repair.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.modules.repair.entity.MaintainPlanContentUser;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.HashMap;
import java.util.List;

@Data
public class PlanAffairDetailVO {

	@ApiModelProperty(value = "项目id")
	private Long buildingId;

	@ApiModelProperty(value = "项目名称")
	private String buildingName;

	@ApiModelProperty(value = "项目别名")
	private String aliasStr;

	@ApiModelProperty(value = "项目详细地址")
	private String buildingAddress;

	@ApiModelProperty(value = "经度")
	private BigDecimal longitude;

	@ApiModelProperty(value = "纬度")
	private BigDecimal latitude;

	@ApiModelProperty(value = "1:非常紧急2:紧急3:普通4:较低")
	private Integer emerProcType;

	@ApiModelProperty(value = "word附件")
	private List<HashMap<String,String>> extWordUrl;

	@ApiModelProperty(value = "描述图片和视频")
	private List<HashMap<String,String>> otherUrl;

	@ApiModelProperty(value = "工单描述")
	private String planDesc;

	@ApiModelProperty(value = "工单id")
	private Long planId;

	@ApiModelProperty(value = "电梯id")
	private Long elevatorId;

	@ApiModelProperty(value = "电梯位置")
	private String elevatorAddress;

	@ApiModelProperty(value = "工单执行时间")
	private Date planDate;

	@ApiModelProperty(value = "工单状态")
	private Integer status;

	@ApiModelProperty(value = "工单创建时间")
	private Date createTime;

	@ApiModelProperty(value = "任务记录")
	List<MalFunctionHistoryVO> malFunctionHistories;

	@ApiModelProperty(value = "最后一次任务")
	private LastPlanVO lastPlan;

	@ApiModelProperty(value = "关联任务的用户")
	private List<MaintainPlanContentUser> planContentUsers;

	@ApiModelProperty(value = "当前用户是否已经有签到记录")
	private Boolean isSign;

	@ApiModelProperty(value = "当天本人同一台梯是否存在签到记录")
	private ElevatorLastPlanVO lastSignImg;

}
